﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace baseClass.Forms
{
    public partial class baseDialogForm : common.forms.baseDialogForm
    {
        public baseDialogForm()
        {
            InitializeComponent();
            this.myOnErrorEvent += new myOnError(application.SysLibs.ErrorHandler);
        }
        public override void SetName(string name)
        {
            base.SetName(name);
            this.Text = CommonTypes.language.GetString(name);
            this.SetPermissions(application.SysLibs.GetFormPermission(name));
        }
    }
}
